package boerse.main.Comparator;

import java.util.Comparator;

import boerse.main.Account.ActionLog;

public class ActionLogCountComparator implements Comparator<ActionLog> {

	@Override
	public int compare(ActionLog o1, ActionLog o2) {
		if (o1.getCount() < o2.getCount())
			return -1;
		else if(o2.getCount() < o1.getCount())
			return 1;
		else
			return 0;
			
	}
	
}
